package com.zoo.boot.mapper;

import com.zoo.boot.model.LDepartments;
import com.zoo.boot.model.LDepartmentsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LDepartmentsMapper {
    long countByExample(LDepartmentsExample example);

    int deleteByExample(LDepartmentsExample example);

    int deleteByPrimaryKey(String deptCode);

    int insert(LDepartments record);

    int insertSelective(LDepartments record);

    List<LDepartments> selectByExample(LDepartmentsExample example);

    LDepartments selectByPrimaryKey(String deptCode);

    int updateByExampleSelective(@Param("record") LDepartments record, @Param("example") LDepartmentsExample example);

    int updateByExample(@Param("record") LDepartments record, @Param("example") LDepartmentsExample example);

    int updateByPrimaryKeySelective(LDepartments record);

    int updateByPrimaryKey(LDepartments record);

    int deleteBatchByIds(@Param("ids") List<String> ids);
}